package com.xhai.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xhai.common.domain.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * <p>
 * 字典数据表
 * </p>
 *
 * @author xhai
 * @since 2025-05-24
 */
@Getter
@Setter
@ToString
@TableName("sys_dict_data")
@Schema(name = "SysDictData", description = "字典数据表")
public class SysDictData extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 字典数据ID
     */
    @Schema(description = "字典数据ID")
    @TableId(value = "DICT_DATA_ID", type = IdType.ASSIGN_ID)
    private Long dictDataId;

    /**
     * 字典数据编码
     */
    @TableField("DICT_DATA_LABEL")
    @Schema(description = "字典数据编码")
    private String dictDataLabel;

    /**
     * 字典数据名称
     */
    @TableField("DICT_DATA_NAME")
    @Schema(description = "字典数据名称")
    private String dictDataName;

    /**
     * 显示顺序
     */
    @TableField("ORDER_NUM")
    @Schema(description = "显示顺序")
    private Integer orderNum;
}
